{template 'common/header'}
<ul class="nav nav-tabs">
	<li class="active"><a href="{php echo $curr_url.'&op=post';}">{if $id}编辑{else}添加{/if}景区</a></li>
    <li><a href="{php echo $curr_url.'&op=list';}">景区管理</a></li>
</ul>
<div class="main">
  <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data">
    <h4>{if $id}编辑{else}添加{/if}景区</h4>
    <table class="tb">
      <tbody>
        <tr>
          <td>景区名称</td>
          <td><input type="text" id="" class="span5" placeholder="" name="title" value="{$item['title']}"></td>
        </tr>
        
        <tr>
          <td>显示顺序</td>
          <td><input type="text" id="" class="span1" placeholder="" name="sort" value="{if $item['sort']}{$item['sort']}{else}0{/if}"></td>
        </tr>
        
        <tr>
          <th>简介</th>
          <td><textarea style="height:100px;" class="span5" name="jianjie" cols="50">{$item['jianjie']}</textarea></td>
        </tr>
        <tr>
          <td></td>
          <td><button type="submit" class="btn btn-primary span3" name="submit" value="提交">提交</button>
            <input type="hidden" name="id" value="{$item['id']}" /></td>
        </tr>
      </tbody>
    </table>
  </form>
</div>
{template 'common/footer'}